#include "goodgay.h"
#include "building.h"
GoodGay::GoodGay() {}

GoodGay::GoodGay(Building *building)
{
    this->building =  building;
}

void GoodGay::visit()
{
    cout << "好基友正在访问" << building->m_SittingRoom << endl;
  //  cout << "Friend :   " << building->m_BedRoom << endl;
}

void GoodGay::visitBuilding()
{
    cout << "好基友正在访问" << building->m_SittingRoom << endl;
    cout << "Friend :   " << building->m_BedRoom << endl;
}
